from unittest import TestCase
from unittest.mock import patch

from memory_memory.hello import receive, send


class TestHello(TestCase):
    def test_send(self):
        with patch("memory_memory.hello.pika"):
            _ = send()

    def test_receive(self):
        with patch("memory_memory.hello.pika"):
            _ = receive()
